<div class="layui-body">
    <!-- 主体区域开始 -->
    <!--当前位置开始-->
    <div class="layui-card layadmin-header">
        <span class="layui-breadcrumb" style="visibility: visible;">
            <a href="{:url('Index/index')}">系统</a>
            <a href="{:url('Tool/index')}">插件中心</a>
            <a><cite>网站地图</cite></a>
        </span>
    </div>
    <!--当前位置结束-->
    <div class="layui-row">
        <div id="head">
            <div class="layui-row">
                <div class="layui-col-md12" id="head-left">
                    <form class="layui-form">
                        <div class="layui-form-item">
                            <button type="button" class="layui-btn layui-btn-primary" id="map">
                                <i class="layui-icon layui-icon-upload-drag"></i>上传文件
                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <div id="main">
            <table class="layui-table">
                <thead>
                <tr>
                    <td width="50">序号</td>
                    <td>名称</td>
                    <td width="50">大小</td>
                    <td width="150">操作</td>
                </tr>
                </thead>
                <tbody>
                {volist name='data' id='v'}
                    <tr>
                        <td>{$v.num}</td>
                        <td>{$v.name}</td>
                        <td>{$v.size}</td>
                        <td>
                            <a href="/sitemap/{$v.name}" target="_blank" class="layui-btn layui-btn-xs">
                                <i class="layui-icon layui-icon-edit"></i>打开</a>
                            <a href="{:url('Tool/map',['path'=>$v['name']])}"class="layui-btn layui-btn-danger layui-btn-xs">
                                <i class="layui-icon layui-icon-delete"></i>删除</a>
                        </td>
                    </tr>
                {/volist}
                </tbody>
            </table>
        </div>
    </div>
    <!--主体区域结束-->
</div>